package com.sleep.psy.external_server.business.psy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 分数因子表
 * </p>
 *
 * @author wenliguo
 * @since 2025-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PsyScore implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "score_id", type = IdType.AUTO)
    private Long scoreId;

    @ApiModelProperty("报告id")
    private Long reportId;

    @ApiModelProperty("默认名称")
    private String defaultName;

    @ApiModelProperty("异常水平")
    private Integer abnormalLevel;

    @ApiModelProperty("描述")
    private String message;

    private Integer sortIndex;

    private Integer scoreType;

    private Long parentId;

    @ApiModelProperty("标准分数")
    private Double standardScore;

    @ApiModelProperty("量表代码code")
    private String className;

    @ApiModelProperty("最终得分")
    private Double originScore;

    private String dateCreated;

    private String lastUpdated;


}
